package com.cxl.harmony.clickgame;

import com.cxl.harmony.clickgame.slice.ClickGameSlice;
import com.cxl.harmony.clickgame.slice.MainAbilitySlice;
import com.cxl.harmony.clickgame.utils.CommonData;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        addActionRoute(CommonData.CLICKGAME_PAGE, ClickGameSlice.class.getName());
    }
}
